<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>LOGO</title>
    <style>
        a {
            color: #666;
        }
    </style>
    <style type="text/css">
        #right {
            margin-top: -10px;
            margin-right: 40px;
        }

        img {
            margin-top: 10px;
            margin-left: 50px;
        }

        #right {
            color: #333;
        }

        #right a {
            font-size: 16px;
            color: #fff;
        }

        #right a:hover {
            background-color: #2eb398;
            color: #2eb398;

        }
    </style>
</head>

<body>
<img src="../logo_03.png"/>
<div align="right" id="right">
    <c:choose>
        <c:when test="${not empty manager}">
            <br> 欢迎访问bookhouse图书管理系统,当前管理员:${manager.name}
            <a href="${basePath}manager/logout"><font color="blue">切换管理员</font> </a>
            <br>
            <br>
        </c:when>
        <c:otherwise>
            <li><a href="${basePath}/manager/Manager_form.action"
                   target="mainFrame">登录</a></li>
        </c:otherwise>
    </c:choose>
</div>
</body>
</html>
